package com.m2bshop.shop.dao;


import com.m2bshop.shop.pojo.BankCard;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface BankCardMapper {
    List<BankCard> getAll(int id);//获取银行卡信息
    void Delete(@Param("bankid") int id);//解绑银行卡信息
    void Insert(BankCard bankCard);//增加信息
    void Update(BankCard bankCard);//修改余额
    BankCard getById(int bankid);//查找
}
